#ifndef __BSP_KEYCOM_H
#define __BSP_KEYCOM_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "bsp.h"



#define KEY_MAX_NUM  50








extern uint8_t g_usKeyStat[KEY_MAX_NUM];

void SetKeyBuff(u8 st,u8 keyIndex);

uint8_t usGetKeyButton(u8 keyIndex);

void SetKeyBuffCnt(u8 keyIndex);


#ifdef __cplusplus
}
#endif

#endif /* __BSP_KEYCOM_H */
